//
//  ContactorModel.h
//  AAIM
//
//  Created by awh on 2019/12/25.
//  Copyright © 2019年 AAIM. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ContactorModel : NSObject

@property (nonatomic, copy) NSString *head;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *username;

@property (nonatomic, copy) NSString *isBlack;
@property (nonatomic, copy) NSString *allow;
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, copy) NSString *email;
@property (nonatomic, copy) NSString *createTime;
@property (nonatomic, copy) NSString *gender;
@property (nonatomic, copy) NSString *user_id;
@property (nonatomic, copy) NSString *invitationCode;
@property (nonatomic, copy) NSString *nickName;
@property (nonatomic, copy) NSString *nickname;//初始化保存用户名字段
@property (nonatomic, copy) NSString *parentId;
@property (nonatomic, copy) NSString *password;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *picPath;
@property (nonatomic, copy) NSString *roleCode; //1是好友 2客服
@property (nonatomic, copy) NSString *sign;
@property (nonatomic, copy) NSString *status; // 群禁言状态  0开启 1禁言 2封群
@property (nonatomic, copy) NSString *sysInvitationCode;
@property (nonatomic, copy) NSString *userInvitationCode;
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, copy) NSString *version;

@property (nonatomic, copy) NSString *remark;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *from_id;
@property (nonatomic, copy) NSString *from_type;
@property (nonatomic, copy) NSString *is_read;
@property (nonatomic, copy) NSString *mine_nickName;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *type; // 0 成员 1管理员  2群主

@property(nonatomic,strong)NSString  *apply_time;

@property(nonatomic,copy)NSString * is_firend;//是否本地好友判断

@property(nonatomic,assign) BOOL seleoctedState;//加入群里 选中状态


/*初始化群model数据*/
@property (nonatomic, copy) NSString *announcement;
//@property (nonatomic, copy) NSString *avatar; //群头像
@property (nonatomic, copy) NSString *groupname;
//@property (nonatomic, copy) NSString *id;//群id
@property (nonatomic, copy) NSString *manageArray;
@property (nonatomic, copy) NSString *maxSendCount;
@property (nonatomic, copy) NSString *memberArray;
//@property (nonatomic, copy) NSString *status;
@property (nonatomic, copy) NSString *userId; //群聊新模型用户id


/*搜索群model*/
@property (nonatomic, copy) NSString *group_type;//区分初始化群 跟 搜索群出来的模型 groupname groupName

@property (nonatomic, copy) NSString *buildTime;
@property (nonatomic, copy) NSString *groupName;
@property (nonatomic, copy) NSString *groupNum;
@property (nonatomic, copy) NSString *hms;
@property (nonatomic, copy) NSString *group_id;
@property (nonatomic, copy) NSString *is_group;//判断群本地是否存在

/*0=未在当前群 1=群主 2=管理 3=群成员*/
@property(nonatomic,assign)NSInteger  user_role;/*群聊用户身份*/
@property(nonatomic,copy)NSString * current_userid;

@property(nonatomic,copy)NSString * state;//个人被禁言 0开启 1禁言
//@property(nonatomic,copy)NSString * type;//群身份 0成员  1 管理 2群主

// 群组身份 设置管理员界面用来判断按钮状态  0=未在当前群 1=群主 2=管理 3=群成员
@property(nonatomic, assign) NSInteger group_role;
// 设置管理员界面选中状态s是否被修改过
@property(nonatomic, assign) BOOL isModified;

//MemberModel*usreModel;
@property (nonatomic, copy) NSAttributedString *attributedContent;
@end



NS_ASSUME_NONNULL_END
